package com.hyh.shiyanshiguanli.mapper;

import com.github.pagehelper.Page;
import com.hyh.shiyanshiguanli.domain.dto.PageDTO;
import com.hyh.shiyanshiguanli.domain.entity.LibInformation;
import com.hyh.shiyanshiguanli.domain.entity.LibManager;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author hyh
 * @version 1.0
 */
@Mapper
public interface LibManagerMapper {

    @Select("select * from lib_manager")
    List<LibManager> select();

    @Select("select * from lib_manager where id = #{id}")
    LibManager selectById(@Param("id") Integer id);

}
